﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Moonwish.Silverlight.OsAvatar.Programs
{
    /// <summary>
    /// 外部程序，由事件通知外，不在内部窗口打开。
    /// write by zhlin 2012-02-25
    /// </summary>
    public class ExternalProgram : ProgramWrapper
    {
        public event EventHandler OnShow;
        /// <summary>
        /// 打开窗口，显示内容。
        /// </summary>
        public override void Show()
        {
            if (OnShow != null)
            {
                OnShow(this, new EventArgs());
            }
        }
    }
}
